# Maintainer: Martijn Braam <martijn@brixit.nl>
pkgname=powersupply
pkgver=0.9.0
pkgrel=0
pkgdesc="GTK3 app to display power status of phones"
url="https://gitlab.com/MartijnBraam/powersupply"
arch="noarch"
license="MIT"
source="https://gitlab.com/MartijnBraam/powersupply/-/archive/$pkgver/powersupply-$pkgver.tar.gz"
depends="
	gtk+3.0
	libhandy1
	py3-gobject3
	python3
	"
makedepends="
	libhandy1-dev
	meson
	"
options="!check" # There's no testsuite

build() {
	abuild-meson . output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
0fc4d71a8d3be0208b6a9e08472bf154ab1ef7d832f7e4ffb093ad20744f2cf1fcdf06c26a627618867839d67480d21254df216229fc8eca65845b415bac85ec  powersupply-0.9.0.tar.gz
"
